package com.csdj.pojo;


public class User {

    private long id;
    private String username;
    private String password;
    private long userType;
    private String readName;
    private String nickName;
    private java.sql.Timestamp regTm;
    private java.sql.Date lastTm;
    private long status;
    private long role;
    private String remoteIp;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public long getUserType() {
        return userType;
    }

    public void setUserType(long userType) {
        this.userType = userType;
    }


    public String getReadName() {
        return readName;
    }

    public void setReadName(String readName) {
        this.readName = readName;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }


    public java.sql.Timestamp getRegTm() {
        return regTm;
    }

    public void setRegTm(java.sql.Timestamp regTm) {
        this.regTm = regTm;
    }


    public java.sql.Date getLastTm() {
        return lastTm;
    }

    public void setLastTm(java.sql.Date lastTm) {
        this.lastTm = lastTm;
    }


    public long getStatus() {
        return status;
    }

    public void setStatus(long status) {
        this.status = status;
    }


    public long getRole() {
        return role;
    }

    public void setRole(long role) {
        this.role = role;
    }


    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", userType=" + userType +
                ", readName='" + readName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", regTm=" + regTm +
                ", lastTm=" + lastTm +
                ", status=" + status +
                ", role=" + role +
                ", remoteIp='" + remoteIp + '\'' +
                '}';
    }
}